Consolidating analytics metadata

ABSTRACT

A single system merges primary data storage, data protection, and intelligence. Intelligence is provided through in-line data analytics, and data intelligence and analytics are gathered on protected data and prior analytics, and stored in discovery points, all without impacting performance of primary storage. As data is written it is automatically mirrored for data protection as part of a High Availability (HA) process. Real-time analysis is done in-line with the HA processing, enabling a variety of data analytics. Data content can mined from within files or blocks. The gathered intelligence is used to tag objects with extended metadata, enabling both valuable search options and rapid restore options. Data recovery begins with metadata restoration, followed by near-instantaneous access to “hot” regions of data being restored, allowing site operation to continue or resume while a restore is ongoing.

CROSS-REFERENCE TO RELATED APPLICATIONS

This utility patent application is a continuation of commonly assignedcopending U.S. patent application Ser. No. 14/017,754, which was filedon Sep. 4, 2013, for a SYSTEM AND METHOD OF DATA INTELLIGENT STORAGE andwhich claims priority to U.S. provisional patent application Ser. No.61/834,806, filed Jun. 13, 2013, titled “SYSTEM AND METHOD OF DATAINTELLIGENT STORAGE”, the entire contents of each of which are herebyincorporated by reference.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains materialthat is subject to copyright protection. The copyright owner has noobjection to the facsimile reproduction by anyone of the patent documentor the patent disclosure, as it appears in the Patent and TrademarkOffice patent file or records, but otherwise reserves all copyrightrights whatsoever. Copyright 2013, Data Gravity, Inc.

BACKGROUND

1. Field of Technology

This disclosure relates to computer storage systems, and moreparticularly to methods and systems unifying primary storage, dataprotection, and data analytics.

2. Background

Data storage solutions are large business and in large demand for manyenterprises. Storage solutions are often designed for specific purposes,and companies often utilize separate systems as data silos dedicated tosuch purposes, such as primary storage (block and file), backup storage,and storage for analytics. These three copies of storage are generallykept on different devices and managed separately. The movement of databetween these three silos can be difficult because there is timeinvolved in determining what changed between the primary silo and backupor analytics silo. This leads to complex backup strategies that attemptto compensate for the length of time required to move the data to thebackup and analytics silos. The involved timing covers bothdetermination of what has changed since the last time the data wascaptured, and moving the data to the new silos typically over a networkof some type. This process is usually resource intensive on the primarystorage system, consuming critical primary storage resources such asprocessor cycles, memory, disk operations, and network bandwidth. Forthis reason, the data move to backup and analytics is often scheduledfor off hours and carefully managed to not interfere with dailyoperations. In addition to processing and timing complications in movingdata to backup and analytics systems, restore operations required in thecase of failure or loss of primary data can also be time consuming.Further, while the restore operation is occurring primary data isgenerally not accessible.

In addition to the above timing and computation issues, analyticssystems today, such as those using Hadoop, are independent of theprimary storage system in terms of security and user account context.This complicates protection to data access, and generally loses contextof when the changes occurred and who made the changes. Many systems alsorequire multiple layers of additional third-party software to extractany information from the data.

Backup systems traditionally focus on recovery point objective (RPO) andrecovery time objective (RTO). RPO represents the maximum time period ofacceptable risk of data loss—for example, an RPO of 24 hours means onfailure of primary storage, up to 24 hours of data might be lost andunrecoverable. RTO represents the maximum acceptable time for recoveryafter a failure before operation can resume—for example, an RTO of 24hours mean on failure of primary storage, restoration from backup willtake up to 24 hours before the primary system is restored and can resumenormal operation.

Recovering or restoring from a backup system is generally a difficultand time-consuming process. Recovering from backup generally requiresidentifying a file (or set of files) and a timestamp (date). If the dateor file is unknown, the already time-intensive restoration processbecomes greatly more complex. Searching data within a backup system toidentify a desired restoration without knowledge of the file and date isgenerally a trial-and-error process, such as picking a date, restoringthe backup from that date, searching the restored data to identify ifthe data includes the desired item, and repeating the process until thedesired item is found.

Once a desired file is identified, a restore process starts. Access tothe file is typically not granted until the entire restore process iscompleted. This might result in many minutes or even hours of wait timebefore users can start using the restored data. This time can besignificantly extended due to storage optimization techniques used whenstoring backup data. For example, to maximize backup capacity backupsmay be compressed, requiring intensive (and often complete-site)restoration to recover a single file.

There is some movement to merge backup and analytics systems into asingle system which uses the backup data for analytics. This hasencountered additional problems, as typically backup systems do not keepdata in the same format as primary storage. Even if the format is not aproblem, issues remain with moving the data and breaking the connectionbetween the primary storage and change insights. Additionally, applyinganalytics to backup data has not overcome the problems arounddetermining time and authorship of changes.

3. Description of Prior Art

U.S. Pat. No. 7,412,577 “SHARED DATA MIRRORING APPARATUS, METHOD, ANDSYSTEM” (Boyd et al., Aug. 12, 2008) discloses, in the Abstract, “Anetwork component is useful in tracking write activity by writing logscontaining write address information is described. The trackingcomponent may be used in networked systems employing data mirroring torecord data block addresses written to a primary storage volume duringthe time a data mirror is unavailable . . . . At the time a data mirroris reconstructed, the log written may be used to construct a list ofblock addresses pointing to locations on a primary storage volumewherein data differs from a secondary storage volume member of themirror.” This solution improves data mirroring within a storage network.

U.S. Pat. No. 7,756,837 “METHODS AND APPARATUS FOR SEARCHING BACKUP DATABASED ON CONTENT AND ATTRIBUTES” (Williams et al., Jul. 13, 2010)discloses, in the Abstract, “Methods and apparatus are disclosed thatpermit the transparent bridging of a broad range of backup storagedevices, such that backup software will identify an intermediate deviceas a one of those storage devices and will transparently send theirbackup data-stream thereto as part of the existing standard backupprocess. Upon receipt of a backup data-stream from the backup software,the methods and apparatus provide for analysis of the data elements inthe data-stream, collection of management information about those dataelements, and storage of the management information in an easilyaccessible format for subsequent review and query by users andadministrators of the original data.” This solution provides indexingand search capabilities to backup data.

U.S. Pat. No. 7,937,365 “METHOD AND SYSTEM FOR SEARCHING STORED DATA”(Prahlad et al., May 3, 2011) discloses, in the Abstract, “Systems andmethods for managing data associated with a data storage componentcoupled to multiple computers over a network are further disclosed.Additionally, systems and methods for accessing documents availablethrough a network, wherein the documents are stored on one or more datastorage devices coupled to the network, are disclosed.” This solutionprovides indexing, search, and access to data across multiplerepositories including secondary storage.

United States Patent Application Publication 2009/0083336 “SEARCH BASEDDATA MANAGEMENT” (Srinivasan, Mar. 26, 2009) discloses, in the Abstract,“The invention includes a system including one or more storage devicesincluding the data items a metadata tagging component for associatingmetadata to each data item, a policy component defining one or more datamanagement policies as a function of the metadata, a search engine forgenerating a list of data items satisfying the data management policy,and a data management application for applying the data managementpolicy to each data item in the list of data items generated by thesearch engine.” This solution creates metadata for “a priority . . . , aowner . . . , a group . . . , a last accessed time . . . , a lastmodified time . . . , a created time . . . , an archival time . . . , alogical location . . . , and a physical location of the data item.” Asearch is performed of the metadata, and backup, retention, andarchiving rules are applied to the search results.

U.S. Pat. No. 8,055,745 “METHODS AND APPARATUS FOR ACCESSING DATA FROM APRIMARY DATA STORAGE SYSTEM FOR SECONDARY STORAGE” (Atluri, Nov. 8,2011) discloses, in the Abstract, “A system for providing secondary datastorage and recovery services for one or more networked host nodesincludes a server application for facilitating data backup and recoveryservices; a first data storage medium accessible to the serverapplication, a second data storage medium accessible to the serverapplication; at least one client application for mapping write locationsallocated by the first data storage medium to write locationsrepresenting a logical view of the first data storage medium; and atleast one machine instruction enabling direct read capability of thefirst data storage medium by the server application for purposes ofsubsequent time-based storage of the read data into the secondary datamedium.” This solution splits (mirrors) data between primary and backupstorage, providing continuous backup rather than discrete(backup-window) backups. Metadata including “source address, destinationaddress, LUN, frame sequence number, offset location, length of payload,and time received” specific to every data frame is tracked, details ofwhich are used in verification and compression.

None of the above provides a storage solution with 1) integrated primarystorage, data protection, and data analytics; 2) in-line data analyticstracking data access and data modifications; 3) RPO based on dataanalytics rather than fixed time; 4) extendible metadata generationincluding content analytics; and 5) RTO minimized to restoration ofmetadata rather than complete site restoration, all without requiringseparate backup data streams, or additional servers and software tocoordinate operations between multiple systems. What is needed,therefore, is a solution that overcomes the above-mentioned limitationsand that includes the features enumerated above.

BRIEF SUMMARY

The disclosed system merges primary data storage, data protection, andintelligence into a single system. The system provides primary storage,analytics, and analytics-based data protection without requiringseparate solutions for each aspect. Intelligence is provided throughinline data analytics, with additional data intelligence and analyticsgathered on protected data and prior analytics, and stored in discoverypoints, all without impacting performance of primary storage. As data iswritten, it is mirrored as part of high availability (HA) processing.Real-time analysis is done in-line with the HA processing, enabling avariety of data analytics. Data content can be mined from within filesor blocks. The gathered intelligence is used to tag objects withextended metadata, enabling both valuable search options and rapidrestore options. Data recovery begins with metadata restoration,followed by near-instantaneous access to “hot” regions of data beingrestored, allowing site operation to continue or resume while a restoreis ongoing.

With the disclosed system, a primary storage processor works inconjunction with an intelligence processor to store and protect the dataon separate sets of disks while gathering intelligence as the data iscreated. Thus the disclosed storage system manages primary and HA streamdata, the ability to extract information about the data, the data usage,and collects analytics around the data content. By using a single HAstorage system to manage everything, processors and IO capacity normallydormant or underutilized may be put to use for gathering dataintelligence, data protection, and delivering search and analytics. Dataextraction may include metadata extraction, content extraction, and finegrain block-level access and change tracking. For file based primarystorage, analysis may track file and metadata changes, includingblock-level changes, as data is written. For block based primarystorage, analysis may track block level access and changes. Further, thesystem is capable of understanding data in a higher level applicationstream context, and performing tracking and analysis at a block levelthat is similar to file level analysis. This enables stream-levelanalysis such as for data being stored to a database. As data is writtento intelligence storage, a copy of the data that is in memory isanalyzed in parallel for data intelligence. Unlike traditional systemsthat are constrained by speed of data movement, this architecture allowsfor rapid processing of the data. Using this initial intelligence scanof the data, the data can then be post processed to gather more in-depthinsights.

Analytics are available in near real time for end users. Preprocesseddata is stored as incremental metadata to individual data objects and inseparate data structures that can be queried. Unlike traditional dataanalytics systems, intelligence is not completely separated from theoriginal data source. Analytics metadata is stored within discoverypoints. Each discovery point contains the analytics for the accessed andchanged data associated with that discovery point, and optionally a copyof the data that has changed since a prior discovery point. By keepingthe most commonly used intelligence as part of the metadata, thedisclosed system reduces the response time to end users' requests forintelligence dramatically. The system also has access to added featuresof the data: who accessed or made a data change and when was the dataaccessed or changed. These added features allow the intelligence systemto provide additional context for search and analysis.

An HA stream is used to create intelligence data, thereby providing asource for both data analytics and real-time protection of the customerdata. Discovery points are created through the intelligence system basedon the intelligence data, not primary storage data, which removes impacton primary storage during discovery point creation. Discovery points arestored on separate storage media from storage of the primary datastream. Discovery point creation can be based on time, but also can beanalytically implemented based on an adaptive schedule. This adaptivebehavior is achieved by actively monitoring access, changes, and changerates over time. This is done at a share or volume level and may takeinto account who owns and who accesses the data. The adaptive schedulemay create discovery points as a result of hitting a threshold ofpercent change across the total data or across a designated portion ofthe total data, or after detecting anomalies in the amount of datachanges based on historical analysis of data change rates over time.

Retaining data within a discovery point enables data recovery. However,from a recovery standpoint, traditional RPO is changed. Discovery pointsare created based on the intelligence data, which removes impact onprimary storage during discovery point creation. This protects data inreal-time, reducing RPO to zero.

The system additionally minimizes RTO to near zero. Two options forrestoring data are available—object level restores or full siterestores.

Object level restore recovers metadata using data and intelligencemetadata about an object within a discovery point. An object can be afile, directory, file share, volume, or a file or directory within acomplex object such as a file within a file system within a virtualmachine disk (VMDK), or a directory within an archive. As soon as themetadata is restored for primary storage, the object appears restored toend users with input/output (I/O) access granted. “Hot” data within theobject, such as data actively being accessed by an end user oridentified as prioritized for fast recovery based on previously gatheredanalytics over time, is restored with priority to primary storage, whileany remaining data is back-filled with lower priority, ensuring theobject will be fully restored. Data accessed within the object duringthe restore may have a slight access performance reduction, butavailability of the restored object is near immediate.

Site level restore is to recover an entire site or portion of site, suchas after a complete or partial failure of primary storage. A site levelrestore is not as instant as an object level restore, but is structuredto enable site operation to resume quickly, potentially within a matterof minutes. Traditional RTO is measured in days and hours. With a sitelevel restore, internal system metadata is quickly recreated for thesite being restored, after which end users may access data. As in theobject level restore case, “hot” data being actively accessed oranalytically identified is given priority for data restoration whileother data is back-filled at lower priority, guaranteeing eventualcomplete restoration while also enabling rapid access for recoveredfunctionality. Site level restores could take longer than object levelrestores before end user operation can continue due to the larger scaleof metadata required.

While a restoration is in process, new data changes may be made. All newchanges are tracked and protected, and analytics gathered, even if theentire restoration has not completed.

Features and Advantages

The disclosed system combines primary storage, data analytics, dataprotection, and recovery into one system.

The disclosed system does not require additional data streams,additional servers or other appliances, or additional software to bedeployed beyond the ones traditionally found in primary storageenvironments.

The disclosed system tracks data changes in real-time, which eliminatespre-processing needed to perform data protection and avoidspost-processing of data to detect changes or querying applicationservers for data changes.

The disclosed system creates a full text index of stored data, alongwith automatically created metadata tags which classify the data. Thistagging enhances the data discovery process.

The disclosed system retains analytics metadata for accessed and changeddata and, optionally, data changes in discovery points.

The disclosed system extends discovery point creation to be time based,percentage based, and analytically adaptive. The system maintains acurrent working version of content changes from the last discoverypoint, removing any risk-of-loss window on primary storage failure.

The disclosed system eliminates back-up windows and back-up scheduling.

The disclosed system provides immediate data protection throughreal-time redundancy of primary data.

The disclosed system creates content-specific intelligence of storeddata, allowing for rapid search and identification of desired discoverypoints and data within them.

The disclosed system enables real-time selective restore based on searchof gathered data intelligence.

The disclosed system tracks a rich set of operational behavior over timeon the data such as access patterns of users to allow for tracking mapsof content to people.

The disclosed system may include off-site archival storage in additionto on-site data protection, enabling both rapid recovery and long-termstorage while maintaining near instant restore, analytics, andsearchability on the local site.

The disclosed system enables data intelligence gathering and analyticswithout any impact to primary storage performance or availability.

The disclosed system provides a programming interface allowingconnection by third party data intelligence packages. This includescustom defined application programming interfaces (APIs) as well asusing traditional file and block access to manage, such as search, querystatus, etc., and retrieve analytics.

The disclosed system enables near-instantaneous access to data, such asindividual files, directories, or file systems, being restored.

The disclosed system significantly reduces the time to resume operationafter initiating a full site recovery in case of complete primary orintelligence system loss.

BRIEF DESCRIPTION OF THE DRAWINGS

In the drawings, closely related figures and items have the same numberbut different alphabetic suffixes. Processes, states, statuses, anddatabases are named for their respective functions.

FIG. 1 is a diagram showing interaction between a Primary Node,Intelligence Node, and Remote Intelligence Node, and connected storagepools.

FIG. 2 is a view of an appliance device containing Primary andIntelligence Nodes.

FIG. 3 is a diagram showing the components of a Primary Node.

FIG. 4 is a diagram showing the components of an Intelligence Node.

FIG. 5 is a diagram showing the analytics flow process.

FIG. 6 a is a diagram showing the structure of a change catalog;

FIG. 6 b shoes a discovery point.

FIG. 7 is a diagram showing adaptive allocation of available storage.

FIG. 8 is a diagram showing data protection flow from a Primary Node toan Intelligence Node to a Remote Site.

FIG. 9 is a diagram showing a Primary Node and an Intelligence Node inan independent deployment.

FIG. 10 is a diagram showing a Primary Node and an Intelligence Node ina shared deployment.

FIG. 11 is a diagram showing data restore flow from an Intelligence Nodeor Remote Site to a Primary Node, and from a Remote Site to anIntelligence Node.

FIG. 12 is a diagram showing process flow for data restore.

FIG. 13 is a diagram showing FIG. 1 modified to replace the RemoteIntelligence Node with a disaster recovery configuration of a RemotePrimary Node and Remote Intelligence Node.

FIG. 14 is a diagram showing fan-out expansion of storage poolsconnected to a shared deployment.

FIG. 15 is a diagram showing fan-out expansion of storage poolsconnected to an independent deployment.

FIG. 16 is a diagram showing process flow on a user data access command.

FIG. 17 is a logical view of discovery points.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT Terminology

The terminology and definitions of the prior art are not necessarilyconsistent with the terminology and definitions used herein. Where thereis a conflict, the following definitions apply.

Primary Storage: networked storage accessible to multiplecomputers/workstations. The storage can be accessed via any networkeddevice, either as files or blocks. Unless explicitly stated, “primarystorage” refers to both blocks and files.

Intelligence Storage: secondary storage containing gatheredintelligence, discovery points, and a redundant real-time copy of filesand block data contained in Primary Storage.

Primary Node: includes access protocols to communicate with anIntelligence Node, Remote Sites, and Expansion Nodes; access protocolslayer (for example, NFS, SMB, iSCSI); protection and analytics inreal-time (“PART”) layer; file and block storage layer (file system,block volume); and connection to storage devices (RAID, DISK, etc.). APrimary Node appears to system users as Primary Storage, and provides aninterface and controls to act as the access to Intelligence Storage.

Intelligence Node: includes access protocols to communicate with aPrimary Node, Remote Sites, and Expansion Nodes; data intelligencestorage layer (intelligent data services & rules processing); file andblock storage layer (file system, block volume); and connection tostorage devices (RAID, long-term storage). In the preferred embodiment,intelligence node data is accessed by users through a Primary Node, butin alternate embodiments Intelligence Nodes may be directly accessed byusers.

Discovery Point: A discovery point, created from a mirrored (highavailability) copy of primary data, contains data analytics for accessedand changed primary data since a prior discovery point. A discoverypoint may contain the changed data, providing for a virtually full butphysically sparse copy of the primary data captured at a user-specifiedpoint in time or dynamically based on change rate or other analytics.While primary data does not change within a discovery point after thediscovery point was created, analytics metadata stored in a discoverypoint can be expanded as deeper levels of user data analysis areperformed and more analytics are gathered. Tracked primary data changescan be retained for the life of the discovery point or can be removed atscheduled or dynamic intervals, such as after deep data analysis iscomplete and desired analytics metadata is obtained. Removing primarydata allows for more efficient space utilization, while retainingprimary data enables point-in-time recovery of that version of data.

Change Catalog: an ordered set of real-time access and changeinformation related to a data object, tracked at a discovery pointgranularity. A change catalog tracks who, how, when, and where aspectsof a data object being accessed and/or modified. There is one changecatalog for every discovery point.

Remote Site: one or more off-site nodes in communication with local siteprimary or intelligence nodes.

Pool: the collection of data storage connected to a node.

Object: a file, directory, share, volume, region within a volume, or anembedded object. Objects can be complex, containing other embeddedobjects. For example, a file can be a container containing other files,or a volume can have a file system on top of it which in turn containsfiles. The system is capable of recognizing complex objects and trackingchanges at finer embedded object granularity.

Selective Restore: an automatic (policy based) or manual (customerinitiated) restore at an object level.

Site Restore: a manually initiated process to recreate primary orintelligence pool content using a previously protected version of thedata being restored.

Container: objects which may have other embedded objects, such as afile, directory, file system, or volume.

Expansion Nodes: appliance having a processor, memory (RAM), networkconnectivity, and storage devices, and connected to one or more primaryor intelligence nodes scaling the processing power and/or storage forconnected nodes.

Operation

In the following detailed description, reference is made to theaccompanying drawings which form a part hereof, and in which are shown,by way of illustration, specific embodiments in which the invention maybe practiced. It is to be understood that other embodiments may be used,and structural changes may be made without departing from the scope ofthe present invention as defined by the claims.

The disclosed high availability (HA) storage system provides primarystorage, analytics, and data protection. The system provides primarystorage access as block and/or file level storage while avoiding singlepoints of failure. The system collects analytics in real-time while alsoprotecting data in real-time on separate physical media, and includesoptions for off-site data protection. The system implements deepanalytics enabling restore, storage, and data intelligence, and protectsboth customer data and associated analytics. The system providestraditional file based and custom API methods for extracting analyticsmetadata. The system provides for near-instantaneous (live) restore atthe object level, and significantly reduced wait-before-access time incase of primary or intelligence node complete failure (aka full siterestore). The system provides for fan-out scalability of storage andintelligence for dynamic growth and expansion.

Referring to FIG. 1, Primary Node 100 of the system connects within anetwork to provide block and/or file level storage access to connectedcomputing devices (not shown), real-time data protection, and real-timeanalytics of primary data. Primary data is read from and written toprimary storage pool 110. The data can be written or read as files orblocks depending on the access protocol being used. As the data iswritten it is automatically mirrored and tracked for data protection aspart of a HA process for the primary node. The mirrored cache of thedata is created for Intelligence Node 120. The Intelligence Node enablesdata protection, analytics, and recovery. The Intelligence Node stores areal-time copy of primary data, analytics and discovery points withinintelligence pool 130. Discovery points are automatically or manuallycreated at any point by the Intelligence Node, and based on fine grainedchange data enabling action to be taken immediately with no need to copythe underlying primary data or do any post processing to determine whathas changed since any prior discovery point.

In a preferred embodiment, each Node is capable as acting as either aPrimary Node, an Intelligence Node, or both. For reliability andperformance reasons, separate Primary and Intelligence Nodes aredesirable. In case of failure of either node, the other may take overoperation of both. Implementation without dual-capability (that is,operating solely a Primary Node and solely an Intelligence Node) ispossible but loss of service (to either primary or intelligence storage)would occur on failure of such a node. In a preferred embodiment, eachone of the Nodes has a processor and local memory for storing andexecuting Node software, a connection to physical storage media, and oneor more network connections including at least a dedicated highbandwidth and low latency communication path to other Nodes.

In a preferred embodiment, the Primary Node and Intelligence Node arephysically housed within a single device, creating a user impression ofa single appliance. FIG. 2 shows one such example, with Primary Node 100and Intelligence Node 120 housed together to appear as a single physicalappliance. Implementation may be with any number of disks, for examplesuch as a four rack units (4 U) housing containing up to twenty-fourhard drives, with separate physical storage devices connected to thesystem. Internally each node is completely separated from the other withthe exception of a backplane, with each node having a dedicated (notshared) power supply, processor, memory, network connection, operatingmedia and optionally non-volatile memory. Separation enables continuedoperation, for example the Intelligence Node may continue operatingshould the Primary Node fail, and vice versa, but shared resourceimplementation is also possible.

Primary Node

Also referring to FIG. 3, a node actively operating as Primary Node 100operates storage protocol server software 300, for example CommonInternet File System (CIFS), Network File System (NFS), Server MessageBlock (SMB), or Internet Small Computer System Interface (iSCSI), so thePrimary Node will appear as primary storage to network-connectedcomputer devices. The storage protocol server software also communicateswith a protection and analytics in real-time process (PART) 310 whichintercepts and takes action on every data access.

The PART 310 performs three main roles after intercepting any dataaccess request: mirroring primary data for HA, gathering in-line dataanalytics on primary data, and storing primary data. The examplesexplained herein are directed to a file access perspective, but the PARTcan similarly process block level accesses. When performing block accessto a volume, the PART can identify embedded objects and perform the sameanalysis that is applied to file-level accesses. Intercepted accessrequests include read, modify (write data or alter attributes, such asrenaming, moving, or changing permissions), create, and delete. The PARTtracks and mirrors the request (and data) to the Intelligence Node.Communication with the Intelligence Node is through synchronous orasynchronous inter-process communication (IPC) 340 depending onconfiguration. IPC may including any suitable protocols or connections,such as Remote Procedure Call (RPC) or a Board-to-Board (B2B) highperformance, low latency communication path that may be hardwarespecific. Any data included with a data access request, such as includedin write operations, is also mirrored to the Intelligence Node as partof HA system operation. This mirroring establishes data protectionthrough real-time redundancy of primary storage. Additionally, the PARTexecutes in-line analysis of primary data, gathering real-timeanalytics. The PART sends gathered real-time analytics to theIntelligence Node, where the analytics are added to a change catalogmaintained by the Intelligence Node. In addition to analytics, the PARTdirects the request to an actual file system, for example FourthExtended FileSystem (EXT4) or Z File System (ZFS), or block volume forfile or block storage access 330 to physical storage devices.

The storage access function 330 (be it file system level or block level)performs the access request on storage media, and returns the result tothe PART for return to the requesting system. In a preferred embodiment,the storage media includes disks attached to the system, but otherstorage media solutions are possible.

In a preferred embodiment, the Primary Node also includes the softwarenecessary to operate as an Intelligence Node in case of IntelligenceNode failure.

In a preferred embodiment, the Primary Node also operates managementsoftware. Preferably accessed through a browser interface (although anyuser interface provision method may be used), the management softwareprovides system administrators access to configure and manage systemusers and access discovery points for the restore process.

Intelligence Node

Referring also to FIG. 4, a node actively operating as Intelligence Node120 operates communication inter process communication (IPC) software400 capable of communicating with the Primary Node. The communicationsoftware includes an API to receive real time analytics (change catalogentries) from the Primary Node, data change and access requests (read,modify, create, delete) from the Primary Node, data protection andintelligence control commands, and data restore commands. Dataprotection and intelligence control commands include commands forcreating discovery points, setting up management rules for managingdiscovery points (including deletion), and searching and restoringcontent that has been backed up. Data restore commands include commandsfor accessing previously backed up data.

Data change requests that are received at the Intelligence Node areapplied to that node's copy of current data, thereby maintaining areal-time mirror of primary storage. This implements real-time dataprotection for the current data.

For data analytics and data recovery purposes, the Intelligence Nodemaintains a change catalog 600 containing real-time analytics gatheredfrom accessed and changed data since the last discovery point 650. Adiscovery point is also created by associating and storing a changecatalog together with reference to the mirrored copy of changed primarydata since the last discovery point as maintained in the intelligencepool. A more detailed discussion of the change catalogs and discoverypoints is provided below.

The Intelligence Node implements file or block-level access 430 to itsown pool 130 of physical storage. This intelligence storage pool retainsthe real-time copy of primary data and discovery points. The storedintelligence data within discovery points includes in-line analytics(change catalog) as received from the Primary Node and additionalanalytics 410 executed by the Intelligence Node.

The real-time copy of primary data also enables distributed responseprocessing between the Primary and Intelligence Nodes. For example, loadbalancing between the Primary and Intelligence Nodes may enable greaterscalability. As both have real-time copies of primary data, readrequests may be balanced between the nodes, or alternatively directed toboth nodes with the fastest-to-respond used for the response. ThePrimary Node may act as a controller for such distributed processing, ora separate controller may be used.

There is no requirement that the Primary 110 and Intelligence Data 130reside on the same appliance, they can be distributed to multiplediscrete appliances deploying all the same techniques with the exceptionthat the communication method is performed over a network transportinstead of using the HA mechanisms within an array.

Analytics

Intelligence is at the core of the system. There are four types ofintelligence functions in the system: Data, Operational, Storage, andRecovery. All four use the same processing engine and common analyticsmetadata to provide analysis both at fixed points and as gathered overtime. Data Intelligence 452 allows for intelligent user contentmanagement. Operational Intelligence 456 analyzes the behavior of thesystem and application logs stored on the system to provide insight intoapplications and security of the system. Storage Intelligence 454 allowsfor intelligent storage system resource management, including automaticstorage allocation and reallocation including dynamically growing andshrinking storage pools. Recovery Intelligence 450 allows forintelligent data protection and data restore. All types of intelligencemay be used for, or enable operation in conjunction with, differenttypes of analytics, such as, but not limited to, collaboration,trending, e-discovery, audits, scoring, and similarity.

Analytics begin at the Primary Node, which tracks data access and datamodifications, system behavior, change rates, and other real-timeanalytics. It provides this real-time analytics information to theIntelligence Node. Intelligence gathering determines time and ownerrelationships with the data for collaboration and contextual informationabout the data. The gathered intelligence is used for later search andreporting, and is tracked in change catalogs associated with the data.

Referring now to FIG. 5 and to FIG. 6A, change catalogs 600 are createdas part of in-line real-time analytics 500 performed by the Primary Node100, but change catalogs 600 are then also further expanded by theIntelligence Node 120 performing further data processing, and create thefoundation for later search. The change catalog data is initiallycreated in real-time at the Primary Node (such as via PART 310) andincludes extended information about the specific data access, forexample, allowing complete tracking of who/how/when/where accessed,created, modified, or deleted a file or other data object. Traditionalfile metadata includes only an owner, group, path, access rights, filesize, and last modified timestamp. This provides some, but not complete,information about a file. For example, it does not identify who modifiedthe file, how many modifications have occurred, or any information aboutfile accesses (such as viewing or reading a file) which do not modifythe file. The PART, operated by the Primary Node, intercepts every fileaccess event. Thus the Primary Node has the ability to track extendedmetadata about a file—including identification of every modification andevery access, even those which do not modify the file, by timestamp,user, and type of access.

Referring also to FIG. 6A, this extended metadata is stored as a changecatalog entry 610 that identifies the object being accessed, the actor(user performing an operation), and the operation being performed.Additional information which may be in a change catalog entry includes,but is not limited to, object name, owner, access control lists, andtime of operation. The change catalog 600 contains this extendedmetadata information, and serves as the foundation of further analytics,such as performed later by the Intelligence Node. The change catalogentry may also include security information, such as permission rightsfor access, associated with the object. An administrator may configurethe degree of tracking, or even enable/disable tracking on a filelocation, user, group-specific, or other basis, and the Primary Node iscapable of incorporating all details of every file access into thechange catalog entries. These change catalog entries of enhancedmetadata are gathered by the Primary Node and transmitted to theIntelligence Node for storing and expanding with further analytics.

With reference now also to FIG. 6B, the change catalog metadata tracksincremental changes which are also linked to a discovery point 650.Every time a new discovery point is created the current change catalogis closed off and stored within the discovery point. When data isretained in the discovery point, the system may be configured to retaina copy of the discovery point analytics metadata at the IntelligenceNode even if that discovery point is migrated off the Intelligence Node,enabling more efficient query processing.

A discovery point 650 is created by associating and storing a changecatalog together with the mirrored copy of changed primary data sincethe last discovery point in the intelligence pool. After a discoverypoint creation, a new change catalog 600 is created allowing gatheringof new real-time analytics on primary data. Change catalogs anddiscovery points are preferably maintained per volume or file system inprimary storage, but may also span multiple volumes or file systems.Discovery points allow deeper analytics on a point in time version ofprimary data, and can also be used to recover a prior version of primarydata. A discovery point contains data analytics for accessed and changeddata since a prior discovery point. When created, a discovery point alsocontains a virtually full but physically sparse copy of primary data atthe time of creation of that discovery point. The system uses datavisible within discovery points to perform deeper data processing,creating more analytics metadata. The analysis is done on accessed andchanged data since a previous discovery point, using the real-timeanalytics reflected in the change catalog. These newly gathered deeperanalytics are also stored within the discovery point. Primary data maybe retained for the life of the discovery point, or may be removedearlier, such as after the deep data analysis is complete and desiredanalytics metadata obtained. Removing the primary data allows for moreefficient space utilization, while retaining the primary data enablesrecovery of primary data at the point in time of the creation of thediscovery point. From one discovery point until the creation of a nextdiscovery point, file changes, deletions, renames, creations and suchare tracked as cumulative modifications to from the prior discoverypoint, so that only incremental changes are maintained. This creates aversion of the data at each discovery point. While the data is retainedin a discovery point, the system is able to restore data at thediscovery point granularity. As change catalogs are stored with eachdiscovery point, information about change history between discoverypoints may be available through analysis of the change catalog. Torestore a data object at a particular point in time, a discovery pointis used. For long-term storage, discovery points may be moved tolong-term media such as tape or off-site storage as configured throughthe management software.

Discovery points can be deleted manually through a delete discoverypoint command, or automatically based on time or analysis in order tosave storage space or for off-site migration. Deletion of discoverypoints is complicated by management of analytics metadata. The analyticsmetadata stored within a discovery point contains information about datachanged within a period of time. If the stored analytics are deletedthey can be lost. To prevent this, the time period for analyticsassociated with one or more other discovery points can be adjusted, andrelevant portions of analytics metadata from a discovery point beingdeleted extracted and merged with other analytics already stored withinthe other discovery points.

Returning attention now to FIG. 5, at the Intelligence Node, an adaptiveparallel processing engine, or Rule Engine 420, operates on the changecatalog 600 to derive these more complex analytics, including trackingchanges and use over time. The Rule Engine applies rules 510 to analyzecontent on the underlying primary data, enabling deeper analytics onstored data. As an example, a second level dictionary can providesentiment attributes to an already indexed document. Regular expressionprocessing may be applied to see if a document contains information suchas social security or credit card numbers. Each rule may have a filter530 to match content, and an action 540 to take based on results. Rulescan be nested, and used to answer user-specific questions. Anotherexample may be to apply locations where keywords appear, for example tosearch objects for a set of keywords such as “mold” or “water damage,”and in all matches to search the objects for address or zip codeinformation. Rules are configurable by administrators or system users,allowing dynamic rule creation and combination based on differentapplicable policies 520. Rules can be combined in multiple ways todiscover more complex information. Rules may also be configured foractions based on results. For example, notifications may be set totrigger based on detected access or content, and different retentionpolicies may be applied based on content or access patterns or othertracked metadata. Other actions may include, but are not limited to,data retention, quarantine, data extraction, deletion, and datadistribution. Results of applied rules may be indexed or tracked forfuture analysis.

As applied rules 510 identify results, such results may be indexed ortracked for other analytical use. This additional metadata may be addedto the change catalogs for the relevant files or objects. The metadatamay also be tracked as custom tags added to objects. Tags may be storedas extended attributes of files, or metadata tracked in a separateanalytics index such as data in a directory or volume hidden from normalend user view, or in other data stores for analytics. Rules, andtherefore analytics, may be applied both to data tracked and to themetadata generated by analytics. This enables analytics of both contentand gathered intelligence, allowing point-in-time and over-timeanalysis. The rules results and actions may serve as feedback from oneor more rules to one or more other rules (or even self-feedback to thesame rule), enabling multi-stage analysis and workflow processing.

Recovery Intelligence 450

Recovery Intelligence is the set of analytics implemented byIntelligence Node 120 around data protection. The purpose is to protectdata and associated analytics. When data reaches the Intelligence Node amirrored copy is stored in the intelligence pool, creating redundancywith primary storage, and these changes are tracked for use in discoverypoint creation. Primary data, discovery points, and intelligence dataare preferably separated on actual physical media at the spindle or diskpool level, such that a failure of a single individual physical deviceis always recoverable. As discovery points are created based on changecatalogs tracked at the Intelligence Node, they can be created at anytime without any impact on the performance of primary storage. Thiseliminates a need to schedule time-windows for discovery point creation.Each discovery point includes incremental changes from the priordiscovery point, including data object changes and the analyticsgathered and associated with the data during such changes. Intelligentrules can be applied to automate discovery point creation, such that, inaddition to manual or time-based creation, discovery point creation maybe triggered by content changes. Such changes may be percentage based,specific to percentage change of certain identifiable subsets of theentire data pool, based on detected deviations from usage patterns suchas increase in frequency of specific accesses, or based on real-timeanalysis of data content.

At the creation of a discovery point, the change catalog accumulatingreal-time changes is closed. The change catalog is then stored withinthe created discovery point, and a new change catalog created forchanges to be associated with a next created discovery point. Theanalytics and data stored within discovery points enable efficientrestores, allowing search over multiple discovery points for specificobject changes without requiring restoration of the data objects fromeach discovery point. Such search can be based on any analyticsperformed, such as data tracked in the extended metadata andcontent-based analysis performed by application of the Rule Engine. Thetracking further enables indexing and partial restores—for examplespecific objects, or embedded objects within complex objects, can berestored from a discovery point without a complete restore of all datafrom that discovery point.

Data Intelligence 452

Data Intelligence is a set of analytics at the Intelligence Nodeanalyzing content. Data Intelligence operates through the Rule Engine,and can be applied to unstructured data, for example file metadata suchas document properties of Microsoft Office documents or the actualcontent of such documents, semi-structured data such as log files orspecific applications such as Mail programs, structured data such asdatabases or other formats for which schema may be known or discoveredby the system, and recursive containers such as virtual machines, filesystems on file systems, file systems on volumes, or archives.

Storage Intelligence 454

Storage Intelligence is a set of analytics performed by the IntelligenceNode analyzing the entire system. Storage Intelligence operates throughthe Rule Engine to track total storage and system use over time to bothpredict usage patterns and analyze capacity needs. Referring also toFIG. 7, available physical storage can be dynamically adjusted, such asthe allocation of physical devices between primary storage 110 andintelligence data storage 130, maximizing use of the system beforeexpansion is required. The example shown in FIG. 7 illustratesallocating a portion of unused storage between a primary pool and anintelligence pool. Similarly, space can be reclaimed from assigned poolswhen no longer needed. For example, in reverse of the shown example,excess storage assigned but not used by the primary pool can beidentified and dynamically removed from the primary pool to a spare poolor directly reallocated to an intelligence pool. This dynamic allocationand reallocation occurs without degrading storage availability. Dynamicreallocation may move data within portions of a data pool to ensure suchdegradation does not occur. The same dynamic allocation may also beapplied when expansions are added, enabling intelligent maximization tostorage resources to continue after expansion. Storage Intelligence maybe applied to improve resource usage efficiency, such as identifyingprocessing demands, patterns of system usage, and scheduling flexiblehigh demand processes during periods of low usage. For example, someRule Engine analytics can be batched to run periodically, anddynamically scheduled based on predicted system use.

Operational Intelligence 456

Operational Intelligence is done by integrating the application logsstored in primary storage and determining usage patterns, errors, and/oranomalies in the logs. Operational Intelligence also monitors accesspatterns for the data and alerts designated administrators oninconsistent behavior such as possible signs of security issues.

Intelligence Searching

With only the inline analytics, real-time searching is enabled forimmediate results such as: who, when, or who and when, was a specificfile accessed; which files were accessed by specific users; are accesspatterns consistent with appropriate file access rights; or which fileswere modified (or viewed) within a certain time period. If additionalin-line or secondary analytics are enabled, the intelligence isexpandable to include content-specific search.

Searches are performed by users submitting user search queries 550 tothe system, but also taking security into account. There are at leasttwo levels of access provided: super user (administrator) and individualuser. Super users and individual users are authenticated (for exampleusing Active Directory or a local user database). Individual users areable only to see the results that they are authorized at the time of thesearch. Individual user rights may be configured by authorizedadministrators, or default to match existing user rights. For example,access to analytics for search purpose may be restricted by default toanalytics associated with data objects the user has or had permission toaccess in primary data. This preserves permissions and data security ofintelligence data which matches the permissions and security for primarydata without requiring manual account configuration of manual accesspermission configuration of intelligence data. Super users are able tosee all results.

Data Protection

Referring also to FIG. 8, data protection flows between different nodes.Customers create data accessing Primary Node 100. Intelligence Node 120protects customer data stored on Primary Node 100 by storing a mirroredcopy of primary data within the intelligence pool 130. Previous versionsof primary data can be retained within discovery points that are storedin the intelligence pool, further enhancing primary data protection.Each discovery point may include a crash consistent snapshot in time ofcustomer data. Discovery points are created based on policies 520associated with primary storage (file systems or volumes). Policies usefixed values (i.e. time passed or data change percentage) or previouslygathered analytics as the main triggers for creating discovery points.If a Remote Site is connected, data may further flow from theIntelligence Node to the Remote Site, configured either for remoteintelligence 800 or complete disaster recovery 810.

Primary and Intelligence Nodes can be deployed in an independentdeployment or a shared deployment configuration, and both configurationscan additionally be configured to communicate with a Remote Site. Forboth configurations users are presented with a single system managementview. Referring also to FIG. 9, in an independent deployment PrimaryNode 100 and Intelligence Node 120 operate as independent separateappliances, with the Primary Node executing access requests to primarydata independent of communications with the Intelligence Node. Referringalso to FIG. 10, in the preferred shared deployment Primary Node 100 andIntelligence Node 120 are installed to be accessed and managed by usersas if a single physical appliance, with the Primary Node confirmingcommunications with the Intelligence Node on all data access requests.For both shared and independent deployments, in the case of failure ofone of the nodes, the other node can continue to operate acting as bothprimary and intelligence nodes. When shared deployment is used the dataprotection from Primary to Intelligence Nodes is continuous; there is nodata loss in the event of a Primary Node failure (full Node, or primarydata pool) as HA stream data is delivered to the Intelligence Node inreal time. When independent deployment is used the data protection fromPrimary to Intelligence Nodes may be real-time as in a sharedconfiguration or alternatively near-continuous. In the near-continuouscase, the HA stream data delivery to the Intelligence Node is delayed.This introduces a potential for some data loss in case of Primary Nodefailure (full Node, or primary data pool), but network latency hasminimal impact on the primary 10 path performance. When independentdeployment employs delayed data protection, change catalog entries aretransferred in real time from Primary to Intelligence Nodes, but themirror of primary data is delivered asynchronously creating thepossibility of data loss. The change catalogs can be used to identifywhat changes were lost in the event of failure, by identifying receivedchange catalog entries with no corresponding receipt of primary data.

Nodes deployed at a remote site can add an additional level of dataprotection, and communicate with the Intelligence Node. Remote Sitedeployment options are discussed below under Off-Site Data Protection,although they may also be deployed on-site as additional redundantprotection.

Data Restore

Referring also to FIG. 11, data flows in the reverse direction during arestore process. Data restore may be selective (object-level) or fullsite. The restore is live, providing near instantaneous access to objectlevel restored data, and significantly reduced wait time to access datafrom a full site restore when compared to traditional restore systems.The restore is fully protected, as any changes to restored data aretracked in real-time, even if the restore process is still on-going.

Current primary data is always protected by storing a mirrored copy ofprimary data in the intelligence pool 130. If primary data is retainedin discovery points, users can restore previous versions of their data.Users use selective restores to restore data at file, directory or filesystem granularity using Object Live Restore 1100 either fromIntelligence Node 120 to Primary Node 100, from Remote Site to PrimaryNode 100 in a remote intelligence configuration 800 or disaster recoveryconfiguration 810, or from Remote Site to Intelligence Node 120 ineither a remote intelligence configuration 800 or disaster recoveryconfiguration 810. Full site restores utilize Block Live Restore 1110 torestore primary data from an Intelligence Node 120 to a Primary Node 100or to restore both primary and intelligence data from a Remote Site in adisaster recovery configuration 810. A full site restore is mostcommonly needed in the event of a complete data pool failure. Forrestore flow consideration, current data (or current as of the selecteddiscovery point to restore) is restored to the Primary Node, anddiscovery points (that include analytics metadata and primary data) arerestored to the Intelligence node.

To perform a selective restore at an object level, a user selects asource discovery point 650 for the data restore. Selection may be directif the specific discovery point is known, or based on results of asearch on the analytics metadata associated with each discovery point.The searchable tags, content, classifications, etc. provide searchaccess to, among other options, file type, file application metadata(for example document author), owner, analytics assigned tags (forexample for files containing social security numbers), content searchkeywords, etc. Once the discovery point is chosen, a restore processstarts. Data can be restored into the original container, overwritingthe current version in primary storage, or into a different containerthereby creating a separate copy.

The Object Live restore process, which operates to enable selectiverestore, is a core mechanism providing for rapid data restore at anobject granularity. Users experience near-instantaneous access to thedata when such restore is performed. To accomplish this, the nodecontrolling the destination for the restore creates empty containers forwhat is being restored based on the metadata. Any actively requestedportions are immediately sourced by requesting those specific portionsfrom the restoring node. This creates immediately available data for endusers. Any additional data needed to complete the restore is transferredwith a priority assigned based on previously gathered over-timeanalytics. Such live restore and access is enabled by operation of PARTintercepting all file access requests, enabling identification andprioritization of hot regions needing immediate restoration. Similarly,accesses and modifications to the restored file are tracked even whilethe background restore is ongoing, as these accesses are alsointercepted by PART. Thus selective restore allows immediate access torestored objects and also real-time protection of any changes, evenbefore the objects have been completely restored.

Referring also to FIG. 12, with selective object restores the restoreprocess appears complete to system users almost immediately after therestore request is made. Users search 1200 intelligence data, whichinternally queries 1205 metadata for restore analytics 1210, for adesired discovery point. Once identified, the user may initiate 1215 arestore request. The restore request, optionally along with relatedanalytics metadata, is directed 1220 to the PART. The PART begins therestore by extracting metadata relevant to the restore from thediscovery point. The file metadata includes file name, path, size,owner, group, and access rights information for each file, and specificto any point in time. With the metadata restored, the PART may providefile identification information, such as directory listings, without theactual restored data moving to primary storage. This allowsacknowledgement 1225 to the user that the restore is complete, andoperation 1230 of user input/output with the restored data, even beforecomplete restore of the actual data. Actual restore of the data may beprioritized based on specific file access. For example, if specific filedata not yet restored is accessed, that file may be prioritized forimmediate restore. When no priority restores are occurring, general datarestore of the entire data content may continue. In this fashion, usersexperience and may access immediate results from restore requests, evenif the complete data restore requires a significant time period (such asminutes or hours).

A full site restore is used for bare-metal recovery, restoring chosenvolumes and/or file systems, and associated discovery points andanalytics data in bulk. With any full site restore the associatedanalytics metadata is also restored. There are two types of full siterestores. A complete site restore restores both primary and intelligencedata from a remote site. A primary-only site restore restores primarydata from an Intelligence Node. To perform a full site restore, usersidentify one or more volumes and/or file systems and discovery pointthrough direct selection or search and selection. Once file systems andassociated discovery points are selected, the restore process starts.With a complete site restore, the version of the selected volumes and/orfile systems in the selected discovery point are restored to Primary andIntelligence Nodes, and discovery points are restored to theIntelligence Node. With a primary-only site restore, the selectedvolumes and/or file systems in the selected discovery point are restoredto the Primary Node. Additionally with a primary-only site restore,discovery points may be selected/de-selected for retention, with theIntelligence Node retaining all discovery points selected for retentionand deleting the others.

The Block Live restore process, which enables full site restore, is acore mechanism that provides for rapid data restore at site granularity.Users experience dramatically reduced wait time before data isaccessible after initiating a full site restore. As an initial step,metadata is copied, at a block storage level, for the volumes and/orfile systems being restored. This copying creates the main delay timebefore data is accessible. The metadata identifies all objects beingrestored, both primary data and any discovery points. Once the metadatais restored, virtual containers can be created for all data entitiesbeing restored. At this point the primary data may be made available foruser I/O access and normal operation. Actively accessed files or extents(regions) within volumes are immediately sourced and restored asblock-level restores, creating priority restoration for activelyaccessed data. The remainder of the site data is restored as abackground process using priorities based on previously gatheredover-time analytics. As with selective restores, all accesses andmodifications are tracked enabling real-time protection even while thebackground restore is ongoing. Such near-immediate access and real-timeprotection is enabled by PART intercepting all data access requests.Based on metadata, PART can identify if access requests are to alreadyrestored data, in which case operation continues as normal, ornot-yet-restored data, in which case appropriate data blocks areidentified for priority immediate restore.

System Management

A management service allows creating and modifying user rights, node andphysical storage management, data intelligence configuration, manuallycreating and managing discovery points or scheduling options forautomatic discovery point management, and provides access to the restoreprocess. Different management software implementations are possible, buta preferred method is implementation of management software 320 as amanagement server within the Primary Node. The management serverdelivers user management through a browser-based interface to authorizedadministrators.

The management service allows management of discovery points. Discoverypoints may be manually created, scheduled for automatic creation basedon time periods, or configured for dynamic automatic creation based onpreviously gathered over-time analytics. Archiving or migration toremote sites may also be triggered manually or scheduled for automaticoccurrence based on time periods, or configured for dynamic automaticoccurrence based on previously gathered over-time analytics.

The management service allows configuring the rule engine for dataanalytics. Such rules may be applied to all new data changes, or alsorun on all data already stored in a Intelligence Node. Rule priority maybe set such that critical analysis is applied in-line at theIntelligence Node to make important analytics instantly available withall data, while less critical analysis may be batched and runperiodically at lower priority.

In addition to a custom API available via traditional programminglanguages, the system supports a file access based interface allowingquery creation, execution, control, and extraction of results throughthe standard file system API. Query execution files can be stored asspecial files in pre-identified locations. Such files may includeinformation on queries to be performed, when to perform, resources touse to perform, where to place or store results, and what formats shouldbe used to present the results (for example, raw data, pdf, a specificreport format, etc.). When a query is being executed by the system, aprogress folder may contain files with names and content that can beused to monitor progress. Users may write custom scripts and tools tocreate, schedule, monitor, and extract results using such standard filesystem operations.

Off-Site Data Protection

The Intelligence Node provides local protection to the primary data andanalytics metadata. An optional remote system may provide furtherredundancy as well as an option for geographically remote protection ofthe primary data and analytics metadata.

In this discussion of such a solution, a primary location is consideredto comprise Primary and Intelligence Nodes as described earlier, and theIntelligence Node communicates with a Remote Site system.

As with discovery points, with remote protection analytics metadata isassociated and transferred with the actual data (both for protection andrestore). Remote Sites may be configured to receive and store mirrors ofIntelligence Node, thereby providing geographically separate redundancy,or as an archival option. Data changes (a delta of data and analytics)are sent from the Intelligence Node to the Remote Site, enabling aredundant copy of primary storage and current analytics, with options toconfigure different rules for discovery point creation enablingdifferent archival options at the Remote Site. For archival purposes,rules may be configured such that the local Intelligence Node retainsdiscovery points within a specified time period and frequency, and theRemote Site contains a different set, such as spanning a longer timeperiod and/or lower frequency. For example, the Intelligence Node may beconfigured to retain hourly discovery points for the past thirty days,while the Remote Site may be configured to retain daily discovery pointsfor the past two years. Global analytics are available across the datafor the entire time period based on the metadata retained at both nodes.Remote Site rules may further be configured at different levels, such asat the system or user share or internal file system levels, allowingdifferent degrees and duration of protection within a larger data set.

Such off-site data protection provides two possible solutions: DisasterRecovery (DR) and Remote Intelligence. Both solutions provide protectionof customer data and analytics metadata in case of a full primarylocation failure (both Primary and Intelligence failure on the primarylocation). The Primary to Intelligence to Remote Site data flow extendsdata protection to an additional level.

Remote Intelligence

As shown in FIG. 1, when operating normally with a Remote Intelligenceconfiguration, the local site Intelligence Node replicates data andanalytics metadata to Remote Site Intelligence Node 140. The RemoteIntelligence Node may be configured to receive discovery point data andanalytics replicated from the Intelligence Node, such as discoverypoints about to be aged off (deleted from) the Intelligence node, or toreceive copies of live change data and create the discovery points andrelated analytics directly at the Remote Intelligence Node. Discoverypoints on the Remote Intelligence Node may be aged out (deleted) andanalytics metadata pruned based on configured policies operated by theRule Engine of the Remote Intelligence Node.

Data replication to a Remote Site may be done synchronously orasynchronously. In the synchronous case, data is replicated in real-timeand the Remote Site contains a complete and up-to date copy of primarystorage data. The advantage of such synchronous method is that no datais lost in case of a complete failure (both primary and intelligence) atthe local site. However, local site performance can be significantlyreduced because data must be replicated to the Remote Site before astorage operation is acknowledged as completed.

The asynchronous case avoids the risk of performance impact on primarystorage. Data replication may be delayed, in which case the Remote Sitecontains a version of primary storage data, but not up-to-date in realtime. This avoids any performance impact, but introduces a risk of somedata loss in case of complete failure of the local site (both Primaryand Intelligence Node failure).

Object Live Restores can be performed for any discovery points on thelocal or remote Intelligence Nodes. To an end user perspective, there isno distinction in recovery data between a local or remote IntelligenceNode—all discovery points on both Intelligence Nodes are searchable andavailable for use in recovery through management interfaces provides bythe Primary Node.

In case of a complete local site system failure, the local site may berestored from the Remote Site, allowing full operation as part of a fullsite restore process. Prior to restoration of the local site, users canperform searches using the analytics metadata available at the RemoteIntelligence Node. Users may have read-only access to data stored withineach discovery point on the Remote Intelligence Node, or read-writeaccess to their data stored within each discovery point, depending uponpolicy configuration. However, in the read-write case newly modifieddata might be not protected. Based on the chosen policy and RemoteIntelligence Node system capabilities, no, limited, or completeanalytics may be produced on the newly modified data. In one example,only a change catalog is maintained for the newly modified data and noqueries could be performed on the newly modified data. In anotherexample, full analytics metadata is produced but possible with much lessperformance. For full operation utilizing the remote site after a localsite failure, the disaster recovery configuration is preferred.

Disaster Recovery

Referring also to FIG. 13, a Disaster Recovery solution may beimplemented by deploying at a remote site both Remote Intelligence Node140 and Remote Primary Node 1300, extending functionality beyond thatdiscussed under Remote Intelligence. In case of a local site completefailure, an automatic or manual failover could be initiated. Thefailover transfers primary operation from the local site to the remotesite, allowing local users to continue operating with primary storagebeing provided from the remote site. When the local location isrecovered (metadata restored to the local nodes), a manual or automaticfailback may be initiated. The failback process transfers primarystorage operations from the remote site to the local site. Any data andanalytics changes made while using the remote site for primary storageare synchronized back to the local site nodes.

Such disaster recovery configurations may be applied to multiple sitesby allowing multi-tenancy within nodes. For example, a single remotesite may be configured to operate as the remote site for multipleprimary local sites. On failure of any one primary site, that sitetransfers to using the remote site for primary storage until the localsite is restored, while the other local sites continue to operate asprimary storage sites while using the remote site for disaster recovery.With such configuration, the storage and processing required at theremote site is greater than at any local site. As an alternative, twoseparate local sites may use each other for disaster recovery. Forexample, local system A may use remote system B as its disasterrecovery. Yet remote system B may also operate as local system B for adifferent set of users, and use system A for remote system disasterrecovery. In alternative configurations, a local site may utilizemultiple remote sites for disaster recovery, building additional degreesof redundancy, or remote sites may be deployed as partial recoverysolutions, such as only implementing a Primary Node for primary noderedundancy but no protection of intelligence node discovery points andanalytics.

Distributed Intelligence

With both Remote Intelligence and Disaster Recovery configurations,different options for operation are possible with respect to analytics.While data changes must be replicated to the remote site, a replicationpolicy can control what is done with the analytics metadata. In apreferred embodiment, changes in analytics data are also replicated tothe remote site. However, different configurations are possibleincluding distribution of analytics processing. For example, to reducethe amount of data exchanged some of the analytics metadata produced atthe local site may be replicated to the Remote Site, and some of theanalytics metadata may be produced by the Remote Intelligence Nodeprocessing the replicated data. Different rules may be applied in therule engines such that the analytics generated at the RemoteIntelligence Node may repeat, perform different analytics, or performnone of the analytics performed at the Intelligence Node. A decision toreplicate analytics metadata at the remote location may be based on thesize of the analytics metadata and the complexity of the metadataproduction process, such as measured in CPU cycles and/or storageoperations (I/O calls). Intelligence may also be distributed based onpriorities or load, with different analytics run at the local and remoteIntelligence Nodes and then distributed back between nodes.

With both configurations, customers have full real-time access to theirdiscovery points (analytics metadata independent and primary data)independent of whether their data and analytics metadata is stored on alocal or remote Intelligence Node. This access is provided via thePrimary Node, with no difference as to if any Remote Intelligence Nodeis in operation. Search and restore operations may span both the localand remote Intelligence Nodes.

Cumulative analytics metadata for all discovery points on local andremote Intelligence Nodes may be kept at either or both of the local andremote Intelligence Nodes, or only metadata applicable to the datastored on the respective nodes. Factors in deciding to retain the remotemetadata at the local Intelligence node may be based on time to accessthe metadata locally or remotely, cost of performing the search withinone or across multiple local and remote discovery points, andmaintenance of cumulative analytics metadata.

Physical Storage Devices

The preferred embodiment includes dedicated disk storage devicesconnected to both the Primary and Intelligence Nodes. This providesmultiple benefits. Physical storage may be dynamically allocated betweenprimary storage, intelligence and data protection storage to account forchanging needs on the system. Additionally, in case of failure of onenode the other node may operate as both nodes and access disks allocatedto each node. The allocation may be configured by an administrator ordynamically by the Primary Node based on observed system storageanalytics. Even with connection to all physical storage devices, as areliability measure no single physical storage device (single disk orspindle) is allocated to store both Primary and Intelligence data. Ifboth primary and intelligence data are stored on a single storagedevice, and that device fails, redundancy is lost and the failure couldlead to simultaneous data loss of both Primary and Intelligence.

In addition to direct physical connection, networked storage devices maybe allocated between Primary and Intelligence Node use. Thus expansionmay be dynamically allocated between Primary and Intelligence Node use,and existing physical devices may be dynamically re-allocated based onchanging use.

Referring also to FIGS. 14 and 15, fan-out is a mechanism that allowsthe capacity and computational capacity of the system to grow asadditional data needs to be stored, backed up and analyzed. The accessmethods and core file system are connected to a “head node” whileadditional nodes are attached as expansion nodes via the network,expanding data pools in both shared and independent deployments. Inshared deployment, expansion nodes 1400 may be utilized for either orboth of primary or intelligence expansion, while in independentdeployment expansion nodes are dedicated as primary expansion nodes 1500or intelligence expansion nodes 1510. These expansion nodes allowsincreasing capacity for handling the growth of primary and intelligencedata pools with sufficient processing and storage capabilities. Thisalso allows increasing computational capabilities for handling thegrowth or analytics metadata and analytics related processing. Expansionnodes must implement a communication protocol to enable operation with ahead node, and contain physical resources of processor and/or storagecapacity which may be utilized to increase the resources accessedthrough the head node. While a main need is to expand storage capacity,additional processors may be utilized through distributed analyticsprocessing to increase computational power of the system.

In addition to traditional rotating platter hard disk drives (HDDs),other physical storage devices may be used. Slow access devices, such astape, are generally too slow to be viable as devices used with primarystorage but may be connected for use for archival purposes. Fasteraccess devices such as solid state drives (SSDs) may also be used. Tobalance performance, capacity, and cost, in the preferred embodimentHDDs are used for user data storage including primary storage, and SSDsare used for storing intelligence and/or analytics data. Furthermore,use of NVRAM can increase reliability and performance of the system whenaccessing primary, data protection, data analytics and performingsearches. This provides faster access to intelligence data enablingrapid search.

In the preferred embodiment, change catalogs (the analytics metadata)are stored within a database on fast access devices such as SSDs. Thisallows rapid searching of stored data through searching the metadatadatabase.

System Data Flow

Referring also to FIG. 16, a typical user data access request isillustrated in flow across a preferred, shared deployment embodiment ofthe entire system. The access request 1600 is received by the PrimaryNode 100 from one of the connected computers(s), and is first processedthrough real-time inline analytics 1605. For read requests, therequested data 1610 may be immediately retrieved 1615 from physicalstorage in the primary pool 110 and returned 1630 to the user.Analytics, but not any user data, is transferred 1620 to theIntelligence Node 120. Acknowledgment from the Intelligence Node is notrequired before returning requested data to the user, as no user data istransferred to the Intelligence Node. For write requests, the analyticsand data are mirrored 1620 to the Intelligence Node, and acknowledgementreceived 1625 from the Intelligence Node before further processing. Thisensures real-time protection of the data. After receiving acknowledgmentfrom the Intelligence Node, acknowledgment may be returned 1630 to theuser request and the data written to physical storage devices. At theIntelligence Node 120, after acknowledging receipt 1625 the data iswritten 1635 to physical storage 130, thereby maintaining a real-timecopy of primary data. Received analytics are also written 1640 tophysical storage, and the data change is recorded in a currently opendiscovery point. A separate acknowledgment may be returned 1645 to thePrimary Node confirming the completion to Intelligence Pool 130 I/O. Ifa Remote Site is configured, data and analytics are replicated 1650 tothe Remote Site, with acknowledgement returned 1655 to the IntelligenceNode to confirm receipt. The Rule Engine 420 may further analyze thedata and changes for deep analytics, and store 1670 the results to disk.Based on rules and scheduling, the Rule Engine analysis may occur at anypoint after the data reaches the Intelligence Node. The Rule Engine mayalso determine when a new discovery point should be created 1675, or ifolder discovery points should be deleted or transferred to a remotelocation.

Discovery Point Structure

Referring also to FIG. 17, each discovery point 650 provides a directaccess to the entire data set at the time the discovery point wascreated and processed, and includes both primary data and analyticsmetadata as was described in connection with FIG. 6B. A discovery pointthus references individual chunks 1710 of primary data directly. Eachchunk of data may be referenced by multiple discovery points as well asby the mirrored copy of primary data. When a new discovery point iscreated, new data that represents differences (in primary data andanalytics metadata) from the previous discovery point is stored by thesystem and referenced by the newly created discovery point. The newlycreated discovery point also references the chunks of data that have notbeen modified since the previous discovery point. Each data chunk isretained by the system as long there is at least one discovery pointand/or mirrored copy of primary data referencing it, and deleted whenthe last reference is deleted. The example shown in FIG. 17 displays twodiscovery points X and Y and chunks of data they reference. Discoverypoint X references chunks A, B, C and D directly, and discovery point Yreferences chunks C, D, E and F directly. If discovery point X isdeleted, chunks A and B are also deleted, however chunks C and D areretained as discovery point Y also references those chunks. If insteaddiscovery point Y is deleted, chunks E and F are also deleted but ChunksC and D are retained as still referenced by discovery point X.

Other Embodiments

In an optional embodiment, a separate appliance may enable deeperanalytics on the existing data and metadata. This additional appliancemay use the same spindles as the intelligence data pool, or provideseparate local storage to limit impact on the primary system. Suchappliance may be preferred for situations requiring custom tailored(user and application specific) analytics processing.

In another optional embodiment, primary storage may be extended to applyintelligence analytics to other storage types, such as object storage orcontent addressable storage. Such an embodiment may also export SQL andor other types of structured data to access other APIs, such as, forexample, participating in a Hadoop environment or other Big Dataapplications or environments. Application-specific uses might include,but are not limited to, Sales, CRM, or social media data. In addition toapplication to different types of storage, the system may be accessed bydifferent types of search. For example, search and recovery may beintegrated into standard desktop search tools, or customized third partyapplications.

It is to be understood that the above description is intended to beillustrative, and not restrictive. Many other embodiments will beapparent to those of skill in the art upon reviewing the abovedescription. The scope of the invention should, therefore, be determinedwith reference to the appended claims, along with the full scope ofequivalents to which such claims are entitled.

What is claimed is:
 1. A method for handling data in a data storagesystem comprising: receiving a copy of data access requests and metadataconcerning the data access requests; executes further analytics on themetadata associated with the data access requests to provide furtheranalytics data; and consolidating the metadata and the further analyticsfor storage as consolidated metadata and further analytics data in astorage device.
 2. The method of claim 1 wherein the copy of data accessrequests is received from a primary node, and an intelligence nodeprovides the storage device for storing the consolidated metadata andfurther analytics data.
 3. The method of claim 2 wherein the primarynode and intelligence node are co-located.
 4. The method of claim 2wherein the primary node and intelligence node are located remotely fromone another.
 5. The method of claim 2 wherein a single processing nodeimplements the primary node and intelligence node, and the intelligencenode executes when the single processing node is not occupied withfunctions of the primary node.
 6. The method of claim 1 wherein themetadata includes one or more of: extended information concerning thedata access request; who initiated a data access request; how manymodifications have occurred; aggregate size of the modifications; a dataobject name; data object owner; access control list; or time of the dataaccess request.
 7. The method of claim 2 wherein the intelligence nodefurther directs the data access requests to an intelligence pool; andcreates discovery points associating the consolidated metadata andfurther analytics data with an intelligence pool copy of the data. 8.The method of claim 7 wherein the intelligence node further performsdeeper analytics on the discovery points, including content extractionand/or analysis of information stored in the discovery points.
 9. Themethod of claim 7 wherein the intelligence node further comparesmetadata related to two or more discovery points associated with dataaccess requests occurring at two or more different times.
 10. The methodof claim 8 further comprising: executing one or more rules on at leastone of the change catalog, metadata, and extracted content informationto perform an additional operation that include one or more of: applyinga rule that includes a filter to match content and an associated action;tracking changes in the data or metadata over time; applying sentimentattributes to an indexed document; processing of a regular expression;content transformation; content analysis; or triggering an action basedon detected access or content wherein the action further comprises oneor more of: data retention; quarantine; data extraction; deletion; datadistribution; alerts; or other actions.
 11. The method of claim 10wherein a result of executing one or more rules provides complexanalytics stored as additional metadata appended to one or more changecatalogs.
 12. The method of claim 2 wherein the intelligence nodefurther provides: selective restore of the primary node using theanalytics metadata associated with a discovery point.
 13. The method ofclaim 12 wherein the selective restore is in response to discovering apredetermined pattern in the data or metadata.
 14. The method of claim 2wherein the intelligence node further controls replication of the data,associated analytics, and a linkage between the data and associatedanalytics to a remote location.
 15. The method of claim 14 furthercomprising: selective replication of analytics metadata at the remotelocation based on one or more of: size of the analytics metadata;complexity of a metadata production process; priorities; or processingload.
 16. A primary storage, high availability and data analytics systemcomprising: one or more processors programmed to operate intelligencenode software wherein the intelligence node software: receives a copy ofdata access requests and extended metadata concerning the accessrequests; directs the data access requests to physical storage media inan intelligence pool; executes further analytics on the data associatedwith the data access request and extended metadata; and consolidates theextended metadata and the further analytics for storage as consolidatedmetadata in the intelligence pool.
 17. The system of claim 16 whereinthe copy of data access requests is received from a primary node. 18.The system of claim 17 wherein the primary node and intelligence nodesoftware are co-located.
 19. The system of claim 17 wherein the primarynode and intelligence node software are located remotely from oneanother.
 20. The system of claim 17 wherein a single processing nodeimplements the primary node and intelligence node, and the intelligencenode executes during when the node is not occupied with functions of theprimary node.
 21. The system of claim 16 wherein the extended metadataincludes one or more of: extended information concerning the data accessrequest; who initiated a data access request; how many modificationshave occurred; aggregate size of the modifications; a data object name;data object owner; access control list; or time of the data accessrequest.
 22. The system of claim 16 wherein the intelligence nodesoftware further creates discovery points associating the change catalogand the further analytics with an intelligence pool copy of the data.23. The system of claim 22 wherein the intelligence node softwarefurther performs deeper analytics on the discovery points, includingcontent extraction and/or analysis of the data.
 24. The system of claim22 wherein the intelligence node software further compares metadatarelated to two or more discovery points associated with data accessrequests occurring at two or more different times.
 25. The system ofclaim 16 wherein the intelligence node software further includes a ruleengine, for operating on at least one of the change catalog, extendedmetadata, and content information to perform an additional operationthat include one or more of: applying a rule that includes a filter tomatch content and an associated action; tracking changes in the data ormetadata over time; applying sentiment attributes to an indexeddocument; processing of a regular expression; content transformation;content analysis; or triggering an action based on detected access orcontent wherein the action further comprises one or more of: dataretention; quarantine; data extraction; deletion; data distribution;alerts; or other actions.
 26. The system of claim 16 wherein the furtheranalytics are provided by a rule engine and stored as additionalmetadata appended to one or more change catalogs.
 27. The system ofclaim 16 wherein the intelligence node software further provides:selective restore of the primary node using the analytics metadataassociated with a discovery point.
 28. The system of claim 27 whereinthe selective restore is in response to discovering a predeterminedpattern in the data or metadata.
 29. The system of claim 16 wherein theintelligence node software further controls replication of the data,associated analytics, and a linkage between the data and associatedanalytics to a remote location.
 30. The system of claim 29 whereinintelligence node software further comprises: selective replication ofanalytics metadata at the remote location based on one or more of: sizeof the analytics metadata; complexity of a metadata production process;priorities; or processing load.